package com.hualan.sfzy.entity.mindanswer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hualan.sfzy.entity.system.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reply {
    private Integer id;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date replyTime;
    private Integer userId;
    private Integer problemId;
    private Integer del;
    //回复人
    private User user1;
    //出题人
    private User user2;
    private Problem problem;



}
